import { fetch } from '../utils/fetch'

// 获取验证码
const getMessageCode = (data) => fetch({
  url: '/api/UsersController/getMessageCode',
  method: 'POST',
  data
})

// 获取用户信息
const getUserInfo = (data) => fetch({
  url: '/api/UsersController/getUserInfo',
  method: 'POST',
  data
})

// 更新用户信息
const updateUserInfo = (data) => fetch({
  url: '/api/UsersController/updateUserInfo',
  method: 'POST',
  data
})

// 登录
const postLogin = (data) => fetch({
  url: '/api/UsersController/login',
  method: 'POST',
  data
})

// 退出登陆了
const logout = (data) => fetch({
  url: '/api/UsersController/logout',
  method: 'POST',
  data
})

// 分享海报
const shareQrCode = (data) => fetch({
  url: '/api/UsersController/shareQrCode',
  method: 'POST',
  data
})

// 获取材料列表
const getMaterialList = (data) => fetch({
  url: '/api/MaterialListController/getList',
  method: 'POST',
  data
})

// 案例列表
const getCaseList = (data) => fetch({
  url: '/api/CaseListController/getList',
  method: 'POST',
  data
})

// 关注材料列表
const getFollowMaterialList = (data) => fetch({
  url: '/api/FollowController/getMaterialList',
  method: 'POST',
  data
})

// 关注案例列表
const getFollowCaseList = (data) => fetch({
  url: '/api/FollowController/getCaseList',
  method: 'POST',
  data
})

// 获取分类
const getClassificationList = (data) => fetch({
  url: '/api/ClassificationsController/getClassificationList',
  method: 'POST',
  data
})

// 分类相关商家
const getClassificationSupplierList = (data) => fetch({
  url: '/api/ClassificationsController/getClassificationSupplierList',
  method: 'POST',
  data
})

// 材料列表
const getClassificationMaterialList = (data) => fetch({
  url: '/api/ClassificationsController/getClassificationMaterialList',
  method: 'POST',
  data
})

// 案例点赞
const postLikeCase = (data) => fetch({
  url: '/api/CaseListController/likeCase',
  method: 'POST',
  data
})

// 案例收藏
const postMarkCase = (data) => fetch({
  url: '/api/CaseListController/markCase',
  method: 'POST',
  data
})

// 获取推荐材料
const getMaterialRecommendList = (data) => fetch({
  url: '/api/RecommendController/getMaterialRecommendList',
  method: 'POST',
  data
})

// 获取推荐案例
const getCaseRecommendList = (data) => fetch({
  url: '/api/RecommendController/getCaseRecommendList',
  method: 'POST',
  data
})

// 获取推荐供应商
const getSupplierRecommendList = (data) => fetch({
  url: '/api/RecommendController/getSupplierRecommendList',
  method: 'POST',
  data
})

// 获取业态分类
const getClassAndStyleList = (data) => fetch({
  url: '/api/ClassificationsController/getClassAndStyleList',
  method: 'POST',
  data
})

// 用户画像收集
const getUserPersona = (data) => fetch({
  url: '/api/UsersController/getUserPersona',
  method: 'POST',
  data
})

// 获取osstoken
const getOssToken = (data) => fetch({
  url: '/api/StsInformation/getStsInformation',
  method: 'POST',
  data
})

// 保存文件
const saveFile = (data) => fetch({
  url: '/api/SaveFile/saveFile',
  method: 'POST',
  data
})

// 搜图
const getSearchImage = (data) => fetch({
  url: '/api/SearchController/searchImage',
  method: 'POST',
  data
})

// 历史记录
const getSearchHistory = (data) => fetch({
  url: '/api/SearchController/searchHistory',
  method: 'POST',
  data
})

// 搜索材料
const getSearchMaterial = (data) => fetch({
  url: '/api/SearchController/searchMaterialHome',
  method: 'POST',
  data
})

// 搜索案例
const getSearchCase = (data) => fetch({
  url: '/api/SearchController/searchCaseHome',
  method: 'POST',
  data
})

// 搜索案例
const getSearchSupplier = (data) => fetch({
  url: '/api/SearchController/searchSupplierHome',
  method: 'POST',
  data
})

// 获取案例详情
const getCaseDetail = (data) => fetch({
  url: '/api/CaseListController/getDetail',
  method: 'POST',
  data
})

// 案例详情-更多案例
const getCaseMore = (data) => fetch({
  url: '/api/CaseListController/getCaseMore',
  method: 'POST',
  data
})

// 获取案例评论列表
const getCommentList = (data) => fetch({
  url: '/api/CaseListController/getCommentList',
  method: 'POST',
  data
})

// 评论案例
const addCaseComment = (data) => fetch({
  url: '/api/CaseListController/addCaseComment',
  method: 'POST',
  data
})

// 获取全部回复
const getCaseMoreReply = (data) => fetch({
  url: '/api/CaseListController/getMoreReply',
  method: 'POST',
  data
})

// 材料详情
const getMaterialDetail = (data) => fetch({
  url: '/api/MaterialListController/getMaterialDetail',
  method: 'POST',
  data
})

// 获取材料评论
const getMaterialCommentList = (data) => fetch({
  url: '/api/MaterialListController/getCommentList',
  method: 'POST',
  data
})

// 材料评论
const postMaterialComment = (data) => fetch({
  url: '/api/MaterialListController/addMaterialComment',
  method: 'POST',
  data
})

// 获取材料全部回复
const getMoreReply = (data) => fetch({
  url: '/api/MaterialListController/getMoreReply',
  method: 'POST',
  data
})

// 收藏材料
const markMaterial = (data) => fetch({
  url: '/api/MaterialCollection/markMaterial',
  method: 'POST',
  data
})

// 获取收藏夹列表
const getUserCollection = (data) => fetch({
  url: '/api/MaterialCollection/getUserCollection',
  method: 'POST',
  data
})

// 增加收藏夹
const addUserCollection = (data) => fetch({
  url: '/api/MaterialCollection/addUserCollection',
  method: 'POST',
  data
})

// 关注供应商
const followSupplier = (data) => fetch({
  url: '/api/FollowController/followSupplier',
  method: 'POST',
  data
})

// 需求列表
const geDemandList = (data) => fetch({
  url: '/api/materialFindPosts/getMaterialList',
  method: 'POST',
  data
})

// 需求分类
const getMaterialCategory = (data) => fetch({
  url: '/api/ClassificationsController/getMaterialCategory',
  method: 'POST',
  data
})

// 需求地址
const getRegionsAddress = (data) => fetch({
  url: '/api/regions/getAddress',
  method: 'POST',
  data
})

// 发布/编辑需求
const saveOrUpdateMaterial = (data) => fetch({
  url: '/api/materialFindPosts/saveOrUpdateMaterial',
  method: 'POST',
  data
})

// 获取需求详情
const getDemandDetail = (data) => fetch({
  url: '/api/materialFindPosts/getMaterialDetail',
  method: 'POST',
  data
})

// 获取需求评论
const getDemandCommentsList = (data) => fetch({
  url: '/api/demandComments/getList',
  method: 'POST',
  data
})

// 添加需求评论
const addDemandComment = (data) => fetch({
  url: '/api/demandComments/addDemandComment',
  method: 'POST',
  data
})

// 查看更多需求评论
const getDemandMoreList = (data) => fetch({
  url: '/api/demandComments/getMoreList',
  method: 'POST',
  data
})

// 更改需求状态
const updateIsFinishTrue = (data) => fetch({
  url: '/api/materialFindPosts/updateIsFinishTrue',
  method: 'POST',
  data
})

// 删除需求
const deleteDemand = (data) => fetch({
  url: '/api/materialFindPosts/deleteMaterial',
  method: 'POST',
  data
})

// 搜索认证企业
const searchCompany = (data) => fetch({
  url: '/api/CompanyAuthController/searchCompany',
  method: 'POST',
  data
})

// 供应商企业认证
const postSupplierAuth = (data) => fetch({
  url: '/api/CompanyAuthController/supplierAuth',
  method: 'POST',
  data
})

// 个人企业认证
const postPersonAuth = (data) => fetch({
  url: '/api/CompanyAuthController/personAuth',
  method: 'POST',
  data
})

// 获取企业认证验证码
const sendMessageCode = (data) => fetch({
  url: '/api/CompanyAuthController/sendMessageCode',
  method: 'POST',
  data
})

// 更新密码
const updatePassword = (data) => fetch({
  url: '/api/UsersController/updatePassword',
  method: 'POST',
  data
})

// 删除收藏夹
const deleteUserCollection = (data) => fetch({
  url: '/api/MaterialCollection/deleteUserCollection',
  method: 'POST',
  data
})

// 获取收藏中的案例
const getCollectionCases = (data) => fetch({
  url: '/api/MaterialCollection/getCollectionCases',
  method: 'POST',
  data
})

// 获取收藏夹材料接口
const getCollectionMaterials = (data) => fetch({
  url: '/api/MaterialCollection/getCollectionMaterials',
  method: 'POST',
  data
})

// 供应商关注列表
const getFollowSupplierList = (data) => fetch({
  url: '/api/FollowController/getFollowSupplierList',
  method: 'POST',
  data
})

// 供应商店铺详情
const getShopInfo = (data) => fetch({
  url: '/api/supplierShopController/getShopInfo',
  method: 'POST',
  data
})

// 店铺信息
const getSupplierInfo = (data) => fetch({
  url: '/api/supplierShopController/getSupplierInfo',
  method: 'POST',
  data
})

// 店铺材料
const getShopMaterialList = (data) => fetch({
  url: '/api/supplierShopController/getMaterialList',
  method: 'POST',
  data
})

// 店铺材料
const getShopCaseList = (data) => fetch({
  url: '/api/supplierShopController/getCaseList',
  method: 'POST',
  data
})

// 我的项目列表
const getMyProject = (data) => fetch({
  url: '/api/ProjectController/getMyProject',
  method: 'POST',
  data
})

// 创建项目
const createProject = (data) => fetch({
  url: '/api/ProjectController/createProject',
  method: 'POST',
  data
})

// 删除项目
const postDeleteProject = (data) => fetch({
  url: '/api/ProjectController/deleteProject',
  method: 'POST',
  data
})

// 项目详情
const getProjectInfo = (data) => fetch({
  url: '/api/ProjectController/getProjectInfo',
  method: 'POST',
  data
})

// 项目成员列表
const getProjectMemberList = (data) => fetch({
  url: '/api/projectMembers/getProjectMemberList',
  method: 'POST',
  data
})

// 项目成员邀请列表
const getProjectInviteList = (data) => fetch({
  url: '/api/projectMembers/getProjectInviteList',
  method: 'POST',
  data
})

// 邀请项目成员
const inviteProjectMember = (data) => fetch({
  url: '/api/projectMembers/inviteProjectMember',
  method: 'POST',
  data
})

// 获取项目空间列表
const getProjectSpaceCategory = (data) => fetch({
  url: '/api/ProjectController/getProjectSpaceCategory',
  method: 'POST',
  data
})

// 获取空间材料
const getProjectMaterial = (data) => fetch({
  url: '/api/ProjectController/getProjectMaterial',
  method: 'POST',
  data
})

// 更新项目材料信息
const updateProjectMaterial = (data) => fetch({
  url: '/api/ProjectController/updateProjectMaterial',
  method: 'POST',
  data
})

// 添加空间
const addProjectSpace = (data) => fetch({
  url: '/api/ProjectController/addProjectSpace',
  method: 'POST',
  data
})

// 删除空间
const deleteProjectSpace = (data) => fetch({
  url: '/api/ProjectController/deleteProjectSpace',
  method: 'POST',
  data
})

// 编辑空间
const updateProjectSpace = (data) => fetch({
  url: '/api/ProjectController/updateProjectSpace',
  method: 'POST',
  data
})

// 项目岛免密登录
const projectIslandLogin = (data) => fetch({
  url: '/api/ProjectIslandController/projectIslandLogin',
  method: 'POST',
  data
})

// 项目岛列表
const getProjectIslandList = (data) => fetch({
  url: '/api/ProjectIslandController/projectIslandList',
  method: 'POST',
  data
})

// 添加材料入项目
const postJoinProject = (data) => fetch({
  url: '/api/ProjectController/joinProject',
  method: 'POST',
  data
})

// 添加材料入项目
const postIslandJoinProject = (data) => fetch({
  url: '/api/ProjectIslandController/joinProject',
  method: 'POST',
  data
})

// 获取项目岛项目空间列表
const getIslandSpaceList = (data) => fetch({
  url: '/api/ProjectIslandController/getSpaceList',
  method: 'POST',
  data
})

// 获取项目岛项目业态列表
const getBusinessTypeList = (data) => fetch({
  url: '/api/ProjectIslandController/getBusinessTypeList',
  method: 'POST',
  data
})

// 删除项目选材
const deleteProjectMaterial = (data) => fetch({
  url: '/api/ProjectController/deleteProjectMaterial',
  method: 'POST',
  data
})

// 移动收藏夹
const moveMarkMaterial = (data) => fetch({
  url: '/api/MaterialCollection/moveMarkMaterial',
  method: 'POST',
  data
})

// 获取材料册生成
const getMaterialBookGenerateInfo = (data) => fetch({
  url: '/api/MaterialBookController/getMaterialBookGenerateInfo',
  method: 'POST',
  data
})

// 生成项目岛材料册
const saveIslandMaterialBook = (data) => fetch({
  url: '/api/ProjectIslandMaterialBookController/saveMaterialBook',
  method: 'POST',
  data
})

// 生成材料册
const saveMaterialBook = (data) => fetch({
  url: '/api/MaterialBookController/saveMaterialBook',
  method: 'POST',
  data
})

// 获取材料册
const getMaterialBook = (data) => fetch({
  url: '/api/MaterialBookController/getMaterialBook',
  method: 'POST',
  data
})

// 删除材料册
const postDeleteMaterialBook = (data) => fetch({
  url: '/api/MaterialBookController/deleteMaterialBook',
  method: 'POST',
  data
})

// 材料册入册
const intoMaterialBook = (data) => fetch({
  url: '/api/MaterialBookController/intoMaterialBook',
  method: 'POST',
  data
})

// 项目成员信息
const getProjectMemberDetail = (data) => fetch({
  url: '/api/projectMembers/getProjectMemberDetail',
  method: 'POST',
  data
})

// 项目成员添加列表
const getProjectMemberSpaceAddList = (data) => fetch({
  url: '/api/projectMembers/getProjectMemberSpaceAddList',
  method: 'POST',
  data
})

// 添加空间到项目成员
const addProjectMemberSpace = (data) => fetch({
  url: '/api/projectMembers/addProjectMemberSpace',
  method: 'POST',
  data
})

// 删除项目成员空间
const deleteProjectMemberSpace = (data) => fetch({
  url: '/api/projectMembers/deleteProjectMemberSpace',
  method: 'POST',
  data
})

// 删除项目成员
const deleteProjectMember = (data) => fetch({
  url: '/api/projectMembers/deleteProjectMember',
  method: 'POST',
  data
})

// 获取下载地址
const getPdfByCategory = (data) => fetch({
  url: '/api/MaterialBookController/getPdfByCategory',
  method: 'POST',
  data
})

// 项目岛详情
const getPprojectIslandDetail = (data) => fetch({
  url: '/api/ProjectIslandController/projectIslandDetail',
  method: 'POST',
  data
})

// 删除项目岛材料册
const deleteIslandMaterialBook = (data) => fetch({
  url: '/api/ProjectIslandMaterialBookController/deleteMaterialBook',
  method: 'POST',
  data
})

// 项目岛选材
const getProjectIslandMaterial = (data) => fetch({
  url: '/api/ProjectIslandController/getProjectMaterial',
  method: 'POST',
  data
})

// 项目岛人员列表
const getProjectManagerMemberListResult = (data) => fetch({
  url: '/api/ProjectIslandController/getProjectManagerMemberListResult',
  method: 'POST',
  data
})

// 获取四类权限
const getProjectRoleInformation = (data) => fetch({
  url: '/api/ProjectIslandController/getProjectRoleInformation',
  method: 'POST',
  data
})

// 删除项目岛选材
const deleteProjectIslandMaterial = (data) => fetch({
  url: '/api/ProjectIslandController/deleteProjectMaterial',
  method: 'POST',
  data
})

// 获取项目岛材料册
const getIslandMaterialBooks = (data) => fetch({
  url: '/api/ProjectIslandMaterialBookController/getMaterialBook',
  method: 'POST',
  data
})

// 项目岛进度
const projectIslandTimeLine = (data) => fetch({
  url: '/api/ProjectIslandController/projectIslandTimeLine',
  method: 'POST',
  data
})

// 获取项目岛白皮书材料册数据
const getIslandMaterialBookGenerateInfo = (data) => fetch({
  url: '/api/ProjectIslandMaterialBookController/getMaterialBookGenerateInfo',
  method: 'POST',
  data
})

// 更新项目岛材料信息
const updateProjectIslandMaterial = (data) => fetch({
  url: '/api/ProjectIslandController/updateProjectMaterial',
  method: 'POST',
  data
})

// 未读消息数量
const getAllUnReadMessageCount = (data) => fetch({
  url: '/api/announcement/getAllUnReadMessageCount',
  method: 'POST',
  data
})

// 消息列表
const getMessageList = (data) => fetch({
  url: '/api/announcement/getMessageList',
  method: 'POST',
  data
})

// 消息详情
const getMessageDetail = (data) => fetch({
  url: '/api/announcement/getMessageDetail',
  method: 'POST',
  data
})

// 收货地址列表
const getAddressList = (data) => fetch({
  url: '/api/shippingAddress/getList',
  method: 'POST',
  data
})

// 默认地址更改
const updateDefaultShippingAddr = (data) => fetch({
  url: '/api/shippingAddress/updateDefaultShippingAddr',
  method: 'POST',
  data
})

// 保存地址
const saveOrUpdateShippingAddr = (data) => fetch({
  url: '/api/shippingAddress/saveOrUpdateShippingAddr',
  method: 'POST',
  data
})

// 收货地址详情
const getShippingAddrDetail = (data) => fetch({
  url: '/api/shippingAddress/getShippingAddrDetail',
  method: 'POST',
  data
})

// 删除收货地址
const postDeleteShippingAddr = (data) => fetch({
  url: '/api/shippingAddress/deleteShippingAddr',
  method: 'POST',
  data
})

// 我的足迹
const getBrowseHistoryList = (data) => fetch({
  url: '/api/userBrowseHistory/getList',
  method: 'POST',
  data
})

// 我的团队成员
const getTeamMember = (data) => fetch({
  url: '/api/TeamController/getTeamMember',
  method: 'POST',
  data
})

// 我参与的团队
const getMyJoinTeam = (data) => fetch({
  url: '/api/TeamController/getMyJoinTeam',
  method: 'POST',
  data
})

// 搜索用户列表
const postSearchUser = (data) => fetch({
  url: '/api/TeamController/searchUser',
  method: 'POST',
  data
})

// 邀请成员
const postInviteMember = (data) => fetch({
  url: '/api/TeamController/inviteMember',
  method: 'POST',
  data
})

// 删除成员
const postDeleteMember = (data) => fetch({
  url: '/api/TeamController/deleteMember',
  method: 'POST',
  data
})

// 我参与的团队成员
const getMyJoinTeamMember = (data) => fetch({
  url: '/api/TeamController/getMyJoinTeamMember',
  method: 'POST',
  data
})

// 退出团队
const postQuitTeam = (data) => fetch({
  url: '/api/TeamController/quitTeam',
  method: 'POST',
  data
})

// 提交反馈内容
const saveOrUpdateSuggestion = (data) => fetch({
  url: '/api/suggestionFeedback/saveOrUpdateSuggestion',
  method: 'POST',
  data
})

// 样品订单列表
const getSampleList = (data) => fetch({
  url: '/api/orders/getSampleList',
  method: 'POST',
  data
})

// 删除订单
const postDeleteOrder = (data) => fetch({
  url: '/api/orders/deleteOrder',
  method: 'POST',
  data
})

// 提醒发货
const postRemindDelivery = (data) => fetch({
  url: '/api/orders/remindDelivery',
  method: 'POST',
  data
})

// 确认收获
const postConfirmReceipt = (data) => fetch({
  url: '/api/orders/confirmReceipt',
  method: 'POST',
  data
})

// 订单详情
const getSampleDetail = (data) => fetch({
  url: '/api/orders/getSampleDetail',
  method: 'POST',
  data
})

// 样品集装箱列表
const getShopCartList = (data) => fetch({
  url: '/api/orders/orderCartInf',
  method: 'POST',
  data
})

// 加入样品集装箱
const postAddCart = (data) => fetch({
  url: '/api/orders/addCart',
  method: 'POST',
  data
})

// 删除集装箱材料
const deleteOrderCart = (data) => fetch({
  url: '/api/orders/deleteOrderCart',
  method: 'POST',
  data
})

// 批量索样
const getAskSampleList = (data) => fetch({
  url: '/api/orders/askSampleList',
  method: 'POST',
  data
})

// 直接索样
const getAskSample = (data) => fetch({
  url: '/api/orders/askSample',
  method: 'POST',
  data
})

// 提交订单
const submitOrder = (data) => fetch({
  url: '/api/orders/submitOrder',
  method: 'POST',
  data
})

// 案例管理
const getSupplierCaseManageList = (data) => fetch({
  url: '/api/CaseManageController/getSupplierCaseManageList',
  method: 'POST',
  data
})

// 编辑案例
const addOrUpdateCase = (data) => fetch({
  url: '/api/CaseManageController/addOrUpdateCase',
  method: 'POST',
  data
})

// 数据统计
const getStatisticBrief = (data) => fetch({
  url: '/api/StatisticsController/getStatisticBrief',
  method: 'POST',
  data
})

// 添加品牌
const saveOrUpdateBrand = (data) => fetch({
  url: '/api/brands/saveOrUpdateBrand',
  method: 'POST',
  data
})

// 获取品牌列表
const getBrandList = (data) => fetch({
  url: '/api/brands/getBrandList',
  method: 'POST',
  data
})

// 删除品牌
const postDeleteBrand = (data) => fetch({
  url: '/api/brands/deleteBrand',
  method: 'POST',
  data
})

// 获取品牌详情
const getSupplierBrandInfo = (data) => fetch({
  url: '/api/brands/getSupplierBrandInfo',
  method: 'POST',
  data
})

// 获取管理案例列表
const getSupplierMaterialList = (data) => fetch({
  url: '/api/MaterialListController/getSupplierMaterialList',
  method: 'POST',
  data
})

// 删除案例
const postDeleteCase = (data) => fetch({
  url: '/api/CaseManageController/deleteCase',
  method: 'POST',
  data
})

// 获取管理案例详情
const getManageCaseDetail = (data) => fetch({
  url: '/api/CaseManageController/getCaseInf',
  method: 'POST',
  data
})

// 管理材料上下架
const putOnOrOff = (data) => fetch({
  url: '/api/MaterialListController/putOnOrOff',
  method: 'POST',
  data
})

// 管理材料删除
const postDeleteMaterial = (data) => fetch({
  url: '/api/MaterialListController/deleteMaterial',
  method: 'POST',
  data
})

// 获取供应商订单列表
const getOrderList = (data) => fetch({
  url: '/api/SupplierOrderController/getOrderList',
  method: 'POST',
  data
})

// 删除订单
const postSupplierDeleteOrder = (data) => fetch({
  url: '/api/SupplierOrderController/deleteOrder',
  method: 'POST',
  data
})

// 供应商订单发货
const deliveryProduct = (data) => fetch({
  url: '/api/SupplierOrderController/deliveryProduct',
  method: 'POST',
  data
})

// 获取供应商成员列表
const getSupplierMember = (data) => fetch({
  url: '/api/SupplierMemberController/getSupplierMember',
  method: 'POST',
  data
})

// 删除供应商成员
const postDeleteSupplierMember = (data) => fetch({
  url: '/api/SupplierMemberController/deleteSupplierMember',
  method: 'POST',
  data
})

// 发送短信接口
const getGeneralMessageCode = (data) => fetch({
  url: '/api/SendMessageController/getMessageCode',
  method: 'POST',
  data
})

// 邀请成员
const postAddSupplierMember = (data) => fetch({
  url: '/api/SupplierMemberController/inviteSupplierMember',
  method: 'POST',
  data
})

// 获取供应商消息通知
const getSupplierMessageList = (data) => fetch({
  url: '/api/MessageCenterProcess/getSupplierMessageList',
  method: 'POST',
  data
})

// 供应商消息已读
const setSupplierMessageRead = (data) => fetch({
  url: '/api/MessageCenterProcess/setSupplierMessageRead',
  method: 'POST',
  data
})

// 供应商消息详情
const getAnnouncementDetail = (data) => fetch({
  url: '/api/MessageCenterProcess/getAnnouncementDetail',
  method: 'POST',
  data
})

// 设计师消息设置已读
const setDesignerMessageRead = (data) => fetch({
  url: '/api/announcement/setDesignerMessageRead',
  method: 'POST',
  data
})

// 获取材料相关案例
const getMaterialCaseList = (data) => fetch({
  url: '/api/MaterialListController/getCaseList',
  method: 'POST',
  data
})

// 修改集装箱材料数量
const updateOrderNum = (data) => fetch({
  url: '/api/orders/updateOrderNum',
  method: 'POST',
  data
})

// 删除历史搜索
const deleteHistory = (data) => fetch({
  url: '/api/SearchController/deleteHistory',
  method: 'POST',
  data
})

// 项目岛材料册下载
const getIslandPdfByCategory = (data) => fetch({
  url: '/api/ProjectIslandMaterialBookController/getPdfByCategory',
  method: 'POST',
  data
})

// 获取首页推荐轮播
const getPictureList = (data) => fetch({
  url: '/api/RecommendController/getPictureList',
  method: 'POST',
  data
})

// 团队邀请处理接口
const postInviteProcess = (data) => fetch({
  url: '/api/TeamController/inviteProcess',
  method: 'POST',
  data
})

// 项目岛材料入册
const IslandIntoMaterialBook = (data) => fetch({
  url: '/api/ProjectIslandMaterialBookController/intoMaterialBook',
  method: 'POST',
  data
})

// 删除项目岛空间
const postIslandDeleteSpace = (data) => fetch({
  url: '/api/ProjectIslandController/deleteSpace',
  method: 'POST',
  data
})

// 项目岛添加空间
const postIslandAddOrUpdateSpace = (data) => fetch({
  url: '/api/ProjectIslandController/addOrUpdateSpace',
  method: 'POST',
  data
})

export {
  getMessageCode,
  getUserInfo,
  updateUserInfo,
  postLogin,
  logout,
  shareQrCode,
  getMaterialList,
  getCaseList,
  getFollowMaterialList,
  getFollowCaseList,
  getClassificationList,
  getClassificationSupplierList,
  getClassificationMaterialList,
  postLikeCase,
  postMarkCase,
  getMaterialRecommendList,
  getCaseRecommendList,
  getSupplierRecommendList,
  getClassAndStyleList,
  getUserPersona,
  getOssToken,
  saveFile,
  getSearchImage,
  getSearchHistory,
  getSearchMaterial,
  getSearchCase,
  getSearchSupplier,
  getCaseDetail,
  getCaseMore,
  getCommentList,
  addCaseComment,
  getCaseMoreReply,
  getMaterialDetail,
  getMaterialCommentList,
  postMaterialComment,
  getMoreReply,
  markMaterial,
  getUserCollection,
  addUserCollection,
  followSupplier,
  geDemandList,
  getMaterialCategory,
  getRegionsAddress,
  saveOrUpdateMaterial,
  getDemandDetail,
  getDemandCommentsList,
  addDemandComment,
  getDemandMoreList,
  updateIsFinishTrue,
  deleteDemand,
  searchCompany,
  postSupplierAuth,
  postPersonAuth,
  sendMessageCode,
  updatePassword,
  deleteUserCollection,
  getCollectionCases,
  getCollectionMaterials,
  getFollowSupplierList,
  getShopInfo,
  getSupplierInfo,
  getShopMaterialList,
  getShopCaseList,
  getMyProject,
  createProject,
  postDeleteProject,
  getProjectInfo,
  getProjectMemberList,
  getProjectInviteList,
  inviteProjectMember,
  getProjectSpaceCategory,
  getProjectMaterial,
  updateProjectMaterial,
  addProjectSpace,
  deleteProjectSpace,
  updateProjectSpace,
  projectIslandLogin,
  getProjectIslandList,
  postJoinProject,
  postIslandJoinProject,
  getIslandSpaceList,
  getBusinessTypeList,
  deleteProjectMaterial,
  moveMarkMaterial,
  getMaterialBookGenerateInfo,
  saveIslandMaterialBook,
  saveMaterialBook,
  getMaterialBook,
  postDeleteMaterialBook,
  intoMaterialBook,
  getProjectMemberDetail,
  getProjectMemberSpaceAddList,
  addProjectMemberSpace,
  deleteProjectMemberSpace,
  deleteProjectMember,
  getPdfByCategory,
  getPprojectIslandDetail,
  deleteIslandMaterialBook,
  getProjectIslandMaterial,
  getProjectManagerMemberListResult,
  getProjectRoleInformation,
  deleteProjectIslandMaterial,
  getIslandMaterialBooks,
  projectIslandTimeLine,
  getIslandMaterialBookGenerateInfo,
  updateProjectIslandMaterial,
  getAllUnReadMessageCount,
  getMessageList,
  getMessageDetail,
  getAddressList,
  updateDefaultShippingAddr,
  saveOrUpdateShippingAddr,
  getShippingAddrDetail,
  postDeleteShippingAddr,
  getBrowseHistoryList,
  getTeamMember,
  getMyJoinTeam,
  postSearchUser,
  postInviteMember,
  postDeleteMember,
  getMyJoinTeamMember,
  postQuitTeam,
  saveOrUpdateSuggestion,
  getSampleList,
  postDeleteOrder,
  postRemindDelivery,
  postConfirmReceipt,
  getSampleDetail,
  getShopCartList,
  postAddCart,
  deleteOrderCart,
  getAskSampleList,
  getAskSample,
  submitOrder,
  getSupplierCaseManageList,
  addOrUpdateCase,
  getStatisticBrief,
  saveOrUpdateBrand,
  getBrandList,
  postDeleteBrand,
  getSupplierBrandInfo,
  getSupplierMaterialList,
  postDeleteCase,
  getManageCaseDetail,
  putOnOrOff,
  postDeleteMaterial,
  getOrderList,
  postSupplierDeleteOrder,
  deliveryProduct,
  getSupplierMember,
  postDeleteSupplierMember,
  getGeneralMessageCode,
  postAddSupplierMember,
  getSupplierMessageList,
  setSupplierMessageRead,
  getAnnouncementDetail,
  setDesignerMessageRead,
  getMaterialCaseList,
  updateOrderNum,
  deleteHistory,
  getIslandPdfByCategory,
  getPictureList,
  postInviteProcess,
  IslandIntoMaterialBook,
  postIslandAddOrUpdateSpace,
  postIslandDeleteSpace
}